#ifndef SDLUTIL
#define SDLUTIL

#include <SDL.h>
#include <SDL_ttf.h>
#include <string>
#include "SDLTextBox.h"
#include "SDLutil.h"
using namespace std;

SDL_Surface *load_image(string filename);
void apply_surface(int x, int y, SDL_Surface* source, SDL_Surface* destination);
void apply_surface_from(int x, int y, SDL_Surface *source, SDL_Rect *sourceRect, SDL_Surface *destination);
void draw_pixel(SDL_Surface *screen, Uint32 x, Uint32 y, Uint32 color);
void draw_line(SDL_Surface *screen, Uint32 x, Uint32 y, Uint32 h, Uint32 color);
#endif
